import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useMovieTypeStore = defineStore('movieType', {
    state: () => ({ type: '0' }),
    getters: {
        getType(): string {
            return this.type;
        }
    },
    actions: {
        setType(type: string) {
            this.type = type;
        }
    }
})
